#!/bin/bash
man ping > ~/test/t1.txt
man top > ~/test/t2.txt
man kill > ~/test/t3.txt
man nice > ~/test/t4.txt
gzip -r ~/test
find ~/test >> work2.log
gzip -d -r ~/test
find ~/test >> work2.log
gzip ~/test/t1.txt -c --best
ls -l -h >> work2.log && rm $(find ~/test -iname *.gz)
tar cf mytar.tar test
gzip mytar.tar
crontab -l >> ~/work2.log

